package com.koron.system.eform.mapper;

import com.koron.system.eform.bean.FormStoreBean;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface FormStoreBeanMapper {
    int deleteByPrimaryKey(String id);

    int insert(FormStoreBean record);

    int insertSelective(FormStoreBean record);

    FormStoreBean selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(FormStoreBean record);

    int updateByPrimaryKey(FormStoreBean record);

    int updateDeleteFlagById(@Param("updatedDeleteFlag")Integer updatedDeleteFlag,@Param("id")String id);

    List<FormStoreBean> queryAll();

    int updatesortById(@Param("updatedSort")Integer updatedSort,@Param("id")String id);

    int updateParentidById(@Param("updatedParentid")String updatedParentid,@Param("id")String id);

    List<FormStoreBean> queryByParentid(@Param("parentid")String parentid);

}
